package com.competition.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "play_audit")
public class PlayAudit implements Serializable {


    @Id
    @Column(name = "play_audit_id")
    private String playAuditId;

    @Column(name = "play_audit_name")
    private String playAuditName;

    @Column(name = "play_audit_phone")
    private String playAuditPhone;

    @Column(name = "play_audit_date")
    @Temporal(TemporalType.DATE)
    private Date playAuditDate;

    @Column(name = "play_audit_time")
    @Temporal(TemporalType.TIME)
    private LocalTime playAuditTime;

    @Column(name = "play_audit_descr")
    private String playAuditDescr;

}
